<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>小小海盗博客</title>
<!--用户注册-->
</head>
<body>
	<h1>用户注册页面</h1>

	<form th:action="@{/user/do/register}" th:method="post">

		<table>
			<tr>
				<td>用户名</td>
				<td><input type="text" name="userName"></td>
			</tr>
			<tr>
				<td>密码</td>
				<td><input type="text" name="userPwd"></td>
			</tr>
			<tr>
				<td>确认密码</td>
				<td><input type="text" name="userPwdConfirm"></td>
			</tr>

			<tr>
				<td>手机号码</td>
				<td><input type="tel" name="userPhone"></td>
			</tr>
			<tr>
				<td>用户性别</td>
				<td><input name="userSex" type="radio" value="1" checked>男
					<input name="userSex" type="radio" value="0">女</td>
			</tr>
			<tr>
				<td>QQ</td>
				<td><input name="userQq" type="text"></td>
			</tr>
			<tr>
				<td>邮箱</td>
				<td><input name="userEmail" type="text"></td>
			</tr>
			<tr>
				<td>用户地址</td>
				<td><input name="userAddress" type="text"></td>
			</tr>
			<tr>
				<td>生日</td>
				<td><input name="userbirthday" type="date"></td>
			</tr>
			<tr>
				<td>用户自我描述</td>
				<td><textarea name="userDescription" style="resize: none;"
						cols="5"></textarea></td>
			</tr>
			<tr>
				<td>用户更头像</td>
				<td><input name="userImageUrl" type="text"></td>
			</tr>
			<tr>
				<td>毕业学校</td>
				<td><input name="userSchool" type="text" value="浙江工商职业学校"></td>
			</tr>
			<tr>
				<td>用户微博</td>
				<td><input name="userWeibo" type="text" value="小小海盗987"></td>
			</tr>
			<tr>
				<td>用户血型</td>
				<td><input name="userBloodType" type="radio" value="1" checked>A型
					<input name="userBloodType" type="radio" value="2">B型 <input
					name="userBloodType" type="radio" value="3">AB型 <input
					name="userBloodType" type="radio" value="4">O型</td>
			</tr>
			<tr>
				<td>用户语录</td>
				<td><input name="userSays" type="text"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="提交"></td>
			</tr>
		</table>

	</form>
</body>
</html>